<template>
  <div>test</div>
  <p>{{ testStore.count }}</p>
  <button @click=" testStore.count++ ">++</button>
</template>

<script lang="ts">
export default {
  name: "XTest",
};
</script>

<script lang="ts" setup>
import { userTestStore } from "@/stores/test";

const testStore = userTestStore();
</script>

<style scoped></style>